getColorSpotTint

@FloatRange(from = 0.0, to = 1.0)
abstract fun getColorSpotTint(block: DesignBlock, property: String): Float

Deprecated

Use getColor instead and read from SpotColor object.

Replace with

this.getColor(block, property)

Get the spot color tint factor of a color property of the given design block.

Return

the tint factor of the spot color in the range of 0 to 1.

Parameters

block

the block whose property should be queried.

property

the name of the property to query.